# -*- coding: utf-8 -*-
# @FileName : development_setting.py
# @Time     : 2023/6/8 19:17
# @Author   : Zhong Runke

DEBUG = True

# MySQL数据库
SQLALCHEMY_ECHO = True
SQLALCHEMY_DATABASE_URI = "mysql://root:mysql0220@120.25.1.147:20001/chain_market?charset=utf8mb4"
# SQLALCHEMY_DATABASE_URI = "mysql://root:mysql0220@localhost:10006/chain_market?charset=utf8mb4"
SQLALCHEMY_COMMIT_ON_TEARDOWN = True
SQLALCHEMY_TRACK_MODIFICATIONS = True

# redis数据库
# REDIS_HOST = '127.0.0.1'
REDIS_HOST = '192.168.1.108'
# REDIS_PORT = 6379
REDIS_PORT = 10002
REDIS_NO = 1